import numpy as np

faces_pos = np.empty([0,4],dtype=int)


for i in range(10):
    faces_pos = np.append(faces_pos, [[i,i+1,1,1]], axis=0)
print(faces_pos)
print(len(faces_pos))

def pos_bias(x,y):
    pos_bias_list = list()
    for i in range(len(faces_pos)):
        pos_bias_value = abs(faces_pos[i, 0]-x)+abs(faces_pos[i, 1]-y)
        pos_bias_list.append(pos_bias_value)
        print(pos_bias_value)
    print(pos_bias_list,min(pos_bias_list))

    return pos_bias_value

pos_bias(2,3)
a=2
if a==1 or a==2:
    print("ok")

